package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.item.to.CategoryView;
import com.atguigu.gmall.model.product.entity.BaseCategory1;
import com.atguigu.gmall.model.product.to.CategoryTreeTo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author lyd
* @description 针对表【base_category1(一级分类表)】的数据库操作Mapper
* @createDate 2025-03-10 20:57:08
* @Entity com.atguigu.gmall.product.entity.BaseCategory1
*/
public interface BaseCategory1Mapper extends BaseMapper<BaseCategory1> {

    List<CategoryTreeTo> getCategoryTreeTo();

    CategoryView getCategoryView(Long skuId);
}




